<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>云音乐</title>
	<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
	<meta name="keywords" content="millionaire match, millionaire matchmaker, dating, mobile, wealthy.">
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes" >
	<meta name="format-detection" content="telephone=no">
	<!-- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> -->
	<script src="component/seajs/2.3.0/seajs.js"></script>
	<link rel="shortcut icon" href="resource/images/favicon.png" />
	<link rel="apple-touch-icon" href="resource/images/favicon.png" />
</head>
<body>
	<style type="text/css">
	#pageLoad{background:url(resource/images/max_loading.gif)#000 no-repeat center center;background-size:80% 80%;width:50px;height:50px;margin:auto;position:fixed;left:0;top:0;bottom:0;right:0;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;z-index:10002}
	#pageLoadDiv{background:#000;position:fixed;z-index:10001;left:0;right:0;top:0;bottom:0;-moz-opacity:.3;-webkit-opacity:.3;opacity:.3;filter:alpha(opacity=30)}
	</style>
	<div id="pageLoad"></div>
	<div id="pageLoadDiv"></div>

	</body>
	<script>
	var wLocation = window.location,
		domian = wLocation.origin+'/',
		curUrl = wLocation.href.replace(/(.*)#.*/,'$1'),
		apiUrl = 'http://tingapi.ting.baidu.com/v1/restserver/ting?',
		apiUrlPlay = domian + 'music/',
		apiUrlImg = domian + 'musicImg/',
		remoteUrl = curUrl,
		version = '1.12';
		// version = Math.random();
		
	seajs.config({
		base: remoteUrl+"component/",
		alias: {
			"$": "zepto/zepto.min",
			"underscore" : "underscore/underscore",
			"backbone" : "backbone/backbone",
			// "lang" : remoteUrl+"/i18n/en",
			"util" :"util/util",
			// "share" :"util/util",
		},
		preload: ["$", "underscore", "backbone"],
		'map': [
			[/^(.*\.(?:css|js|tpl))(.*)$/i, '$1?v='+version]
		],
		vars: {
			'root':remoteUrl,
		    'component': remoteUrl+'component/', 
		    'view': remoteUrl+'view/', 
		    'controller': remoteUrl+'controller/', 
		},
		charset: 'utf-8',
	});

	seajs.use(['$','underscore','backbone','util'],function($,u,b,util){
	  window.Backbone = b;
	  window.$ = $;
	  window._ = u;
	  // window.lang=l;
	  window.util = util;
	  seajs.use(remoteUrl+'main.js');
		
	// $.getJSON(apiUrl+'method=baidu.ting.artist.getInfo&tinguid=5913&callback=?',function(json) {
	// 	console.log(json)
	// })
	

// var stooge = [123,3213123,322,2,"as", "aa", "asd", "a", "123", "1", "123", "daa", "sd", "a", "ccccc", "d", "ass", "d", "da", "sd", "as", "ffffffffffffffffff","daa", "d", "da", "das", "da", "das", "aa"];

// console.log(_.indexOf(stooge,'asdasdsadsds'))

	});



</script>

</html>
